﻿#ifndef TCPCODECBASE_H
#define TCPCODECBASE_H

#include "DataPackage_TcpCodec.h"

class TcpCodecBase
{
public:
  enum DataType
  {
    HeartBeat=0x00,
    ReadSensorData,
    DataBase,
    MCUCtl,
    MEMSData,
    TurnTable,
    Register,
    User,
    Transmit,
    Script,
    DataType_Size
  };
public:
  explicit TcpCodecBase(){}
  virtual ~TcpCodecBase(){}
public:
  virtual void decode(DataPackage_TcpCodec* dataPackageInfo_User)
  {
    (void)dataPackageInfo_User;
  }
};
#endif // TCPCODECBASE_H
